GBML manual / Constants

PATH_PING_PONG

Reverses direction and follows the path backward.

Syntax

PATH_PING_PONG: constant

Description

The end action that reverses direction and follows the same path backward, back and forth forever. See Rooms's own "Paths, briefly" section for how this compares to the other three end actions.

Example

path_start(path_doc_patrol, 1, PATH_PING_PONG, false);

Starts the walker along path_doc_patrol and reverses it at each end, following the same path back and forth forever.

See also: path_end_dopath_startRooms